﻿package com.bizmlib.uitls.boolean
{
	public class BooleanHandling extends Object
	{
	
	
		public function BooleanHandling()
		{
		}
		
		
		public static function getDefined():Boolean
		{
			//trace(toString() + ".getDefined(" + arguments + ")");
			var values:Array = arguments.concat();
			var value:Boolean;
			while(values.length){
				var localCurrentValue:Object = values.shift();
				if(localCurrentValue!=undefined && localCurrentValue!=null && typeof(localCurrentValue)=="boolean"){
					return Boolean(localCurrentValue);
				}
			}
			return undefined;
		}
		
		public static function toString():String
		{
			return "[com.bizmlib.utils.boolean.BooleanHandling]";
		}
	}
}